package com.cloudpivot.receivales.contract.service;

import com.cloudpivot.receivales.contract.domain.crmcontract.CrmContract;
import com.cloudpivot.receivales.contract.domain.oa.OAContract;

/**
 * crm合同服务接口类
 */
public interface CrmContractService {
    /**
     * 新增crm合同(通过U8数据库)
     * @param strContractID  U8数据库对应合同ID
     */
    String addContractByEntity(String strContractID, OAContract entity,String version);

    /**
     * 新增crm合同(通过OA)
     * @param crmContract
     */
    void addContract(CrmContract crmContract);
}
